package org.example.repository;

import org.example.model.UserResponse;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserResponseRepository extends JpaRepository<UserResponse, Long> {
    
    List<UserResponse> findByUserId(Long userId);
    
    List<UserResponse> findByQuestionnaireId(Long questionnaireId);
} 